package com.qst.work2;

public class Vehicle {
    private String brand;
    private String color;
    private Double speed = 0.0;
    public Vehicle(){

    }
    public Vehicle(String brand,String color){
        this.brand = brand;
        this.color = color;
    }
    public void run(){
        System.out.println("汽车行驶");
    }

}
